Understanding class name prop as used here: <input type="text" class="{email: true}" />

Posted by justSteve on Stack Overflow See other posts from Stack Overflow or by justSteve
Published on 2010-04-17T19:54:15Z Indexed on 2010/04/17 20:03 UTC
Read the original article Hit count: 254

Filed under:

browsing some html code I find a text input coded as:

<input type="text" name="Email<%=orderRow.ID %>_<%=i %>" class="{email: true}" />

but need help understanding what's happening with the class declaration. It's not part of hte .net-ness of the page, right - lack of '<%' and '%>' is telling me that. But I haven't seen an object used in a class name before.

thx

© Stack Overflow or respective owner

Related posts about css